import {
  post
} from '@/api/http'

export const dirReportList = (data) =>
  post('/mg/api/private/daily/list', data)

export const dirReportDelete = (data) =>
  post('/mg/api/private/daily/delete', data)

export const dirReportUpdate = (data) =>
  post('/mg/api/private/daily/update', data)

export const dirReportCreate = (data) =>
  post('/mg/api/private/daily/create', data)

export const getSalesStatistics = (data) =>
  post('/mg/api/private/daily/month', data)

export const getSalesStatisticsTotal = (data) =>
  post('/mg/api/private/daily/totalMonth', data)

export const getUnderpaymentStatistics = (data) =>
  post('/mg/api/private/daily/moneyAll', data)

export const getUnderpaymentStatisticsTotal = (data) =>
  post('/mg/api/private/daily/press', data)

export const getMonthProportion = (data) =>
  post('/mg/api/private/daily/monthProportion', data)

export const getEachStoreProportion = (data) =>
  post('/mg/api/private/daily/eachStoreProportion', data)

export const thisdaysend = (data) =>
  post('/mg/api/private/daily/thisdaysend', data)

export const lastDayData = (data) =>
  post('/mg/api/private/daily/lastDayData', data)

// 刮刮卡  记录
export const scrapingCardRecord = (data) =>
  post('/mg/api/private/daily/scrapingCardRecord', data)


// 刮刮卡  记录 （每日合计）
export const scrapingCardRecordDay = (data) =>
  post('/mg/api/private/daily/scrapingCardRecordDay', data)

// 刮刮卡  记录 不同店铺合计值
export const scrapingCardRecordTotal = (data) =>
  post('/mg/api/private/daily/scrapingCardRecordTotal', data)
